home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / PROGRAMR / OLE2BOOK.ZIP / CHAP06.ZIP / CHAP06 / FREELOAD / CLIENT.CPP < prev    next >
C/C++ Source or Header  |  1993-03-28  |  1KB  |  60 lines

  1. /*
  2.  * CLIENT.CPP
  3.  *
  4.  * Implementation of the CFreeloaderClient class that just makes sure
  5.  * we get a CFreeloaderDoc on doc creation and that we initialize fully.
  6.  *
  7.  * Copyright (c)1993 Microsoft Corporation, All Rights Reserved
  8.  *
  9.  * Kraig Brockschmidt, Software Design Engineer
  10.  * Microsoft Systems Developer Relations
  11.  *
  12.  * Internet  :  kraigb@microsoft.com
  13.  * Compuserve:  >INTERNET:kraigb@microsoft.com
  14.  */
  15.  
  16.  
  17.  
  18. #include "freeload.h"
  19.  
  20.  
  21. /*
  22.  * CFreeloaderClient::CFreeloaderClient
  23.  * CFreeloaderClient::~CFreeloaderClient
  24.  *
  25.  * Constructor Parameters:
  26.  *  hInst           HINSTANCE of the application.
  27.  */
  28.  
  29. CFreeloaderClient::CFreeloaderClient(HINSTANCE hInst)
  30.     : CClient(hInst)
  31.     {
  32.     return;
  33.     }
  34.  
  35.  
  36. CFreeloaderClient::~CFreeloaderClient(void)
  37.     {
  38.     return;
  39.     }
  40.  
  41.  
  42.  
  43. /*
  44.  * CFreeloaderClient::CreateCDocument
  45.  *
  46.  * Purpose:
  47.  *  Constructs a new document specific to the application.
  48.  *
  49.  * Parameters:
  50.  *  None
  51.  *
  52.  * Return Value:
  53.  *  LPCDocument     Pointer to the new document object.
  54.  */
  55.  
  56. LPCDocument CFreeloaderClient::CreateCDocument(void)
  57.     {
  58.     return (LPCDocument)(new CFreeloaderDoc(m_hInst));
  59.     }
  60.